html,body{
    margin: 0 !important;
    padding: 0 !important;
}


/*底色*/
.o_home_menu_background {
    background: url(/core/static/src/img/home-menu-bg-overlay.svg),
        linear-gradient(to right bottom, #FFF, #FFF);
    background-size: cover;
}
/*头部文字颜色*/
.o_main_navbar {
  position: relative;
  height: 46px;
  border-bottom: 0px solid #F9F9F9;
  background-color: #2b44e2;
  color: #FFF;
}


.o_main_navbar > a, .o_main_navbar > button {
  float: left;
  height: 46px;
  border: none;
  padding: 0 12px 0 16px;
  line-height: 46px;
  background-color: transparent;
  text-align: center;
  color: inherit;
  font-size: 18px;
  user-select: none;
}

.o_main_navbar > a:hover, .o_main_navbar > a:focus, .o_main_navbar > button:hover, .o_main_navbar > button:focus {
  background-color: #2B44E2;
  color: #FFF !important;
}

.o_main_navbar > a:focus, .o_main_navbar > a:active, .o_main_navbar > a:focus:active, .o_main_navbar > button:focus, .o_main_navbar > button:active, .o_main_navbar > button:focus:active {
  background-color: #2b44e2;
  color: #FFF !important;
}

.o_main_navbar .o_app {
  cursor: pointer;
}

.o_main_navbar .o_menu_brand:hover {
  background-color: #2b44e2;
}


.o_main_navbar > .o_menu_brand {
  /*background-color: #FFFFFF;*/
  display: block;
  float: left;
  margin-right: 35px;
  user-select: none;
  color: #FFF !important;
  font-size: 22px;
  font-weight: 500;
  line-height: 46px;
  cursor: pointer;
}

.o_main_navbar > .o_menu_toggle {
  margin-right: 5px;
}

.o_main_navbar > ul {
  display: block;
  float: left;
  margin: 0;
  padding: 0;
  list-style: none;
}

.o_main_navbar > ul > li {
  position: relative;
  display: block;
  float: left;
}

.o_main_navbar > ul > li > a {
  display: block;
}

.o_main_navbar > ul > li > a:focus, .o_main_navbar > ul > li > a:active, .o_main_navbar > ul > li > a:focus:active {
  outline: none;
}

.o_main_navbar > ul > li > a, .o_main_navbar > ul > li > label {
  height: 46px;
  padding: 0 10px;
  color: #FFF;
  line-height: 46px;
}



.o_main_navbar > ul > li > a:hover, .o_main_navbar > ul > li > label:hover {
  background-color: #2B44E2;
  color: #FFF !important;
}


.o_main_navbar > ul > li.o_extra_menu_items > a {
  width: 46px;
  text-align: center;
}

.o_main_navbar > ul > li.o_extra_menu_items.show > ul {
  padding: 0;
}

.o_main_navbar > ul > li.o_extra_menu_items.show > ul > li > a {
  background-color: #2B44E2;
  color: white;
  border-bottom: 1px solid #f8f9fa;
}


.o_main_navbar > ul > li.o_extra_menu_items.show > ul > li > a.dropdown-toggle {
  background-color: #2B44E2;
  pointer-events: none;
}


.o_main_navbar > ul > li.o_extra_menu_items.show > ul > li > .dropdown-menu {
  position: static;
  float: none;
  display: block;
  border: none;
  box-shadow: none;
  max-height: none;
}

.o_main_navbar > ul.o_menu_systray {
  float: right;
}

.o_main_navbar .dropdown-menu.show {
  max-height: 90vh;
  min-width: 100%;
  overflow: auto;
  margin-top: 0;
}

.o_main_navbar .dropdown-menu.show .o_menu_header_lvl_3, .o_main_navbar .dropdown-menu.show .o_menu_entry_lvl_3 {
  padding-left: 32px;
}

.o_main_navbar .dropdown-menu.show .o_menu_header_lvl_4, .o_main_navbar .dropdown-menu.show .o_menu_entry_lvl_4 {
  padding-left: 44px;
}

.o_main_navbar .dropdown-menu.show .o_menu_header_lvl_5, .o_main_navbar .dropdown-menu.show .o_menu_entry_lvl_5 {
  padding-left: 56px;
}

.o_main_navbar .show .dropdown-toggle {
  background-color: #2B44E2;
  color: white;
}

.o_main_navbar .o_user_menu {
  margin-left: 6px;
}

.o_main_navbar .o_user_menu > a {
  padding-right: 16px;
}

.o_main_navbar .o_user_menu .oe_topbar_avatar {
  height: 26px;
  width: 26px;
  object-fit: cover;
  transform: translateY(-2px);
}

/*头部文字颜色尾*/


/*搜索应用图标背景色*/
.o_searchview .o_searchview_facet .o_searchview_facet_label {
    background-color: #2B44E2 !important;
}


/*了解更多的颜色*/
.btn-secondary {
    background-color: white;
    border-color: white;

}
.btn:focus, .btn.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem #2B44E2 !important;
}
/*安装摁扭的颜色*/
.btn-primary {
    color: #FFFFFF;
    background-color: #2B44E2 !important;
    border-color: #2B44E2 !important;
}

   code {
    font-size: 87.5%;
    color: #999999 !important;
    word-break: break-word;
}
   /*去掉导航栏下边框*/
   /*.o_main_navbar {*/
     /*border-bottom: none;*/

/*}*/

   /*!*导航li 的背景色*!*/
   /*.o_main_navbar > ul > li > a:hover, .o_main_navbar > ul > li > label:hover{*/
       /*background-color:#2B44E2 ;*/
       /*color: #babcc4;*/
   /*}*/
   /*!*应用的背景色*!*/
   /*.o_main_navbar > a:hover, .o_main_navbar > a:focus, .o_main_navbar > button:hover, .o_main_navbar > button:focus {*/
    /*background-color: #2B44E2;*/
    /*color: white;*/
/*}*/
   /*搜索文字*/
/*   a {*/
/*    color: #2B44E2 !important;*/
/*    text-decoration: none;*/
/*    background-color: transparent;*/
/*}*/

   /*更改应用搜索那块的底色*/
   html,body{
       background-color: #f9f9f9;
   }
   .o_control_panel {
     background-color: #f9f9f9 !important;
    }

   .breadcrumb {
     background-color:  #f9f9f9 !important;

    }
   /*更改应用搜索那块的底色*/



   .o_searchview .o_searchview_input_container .o_searchview_autocomplete li a {
        display: inline-block;
        padding-left: 0px;
        padding-right: 0px;
        color: #2B44E2;     /*更改应用输入框文字颜色*/
    }
   .o_main_navbar .show .dropdown-toggle {
    background-color: #2B44E2; /*更改头像有击的颜色*/
}

   .o_home_menu .o_home_menu_scrollable .o_apps .o_app .o_caption {
        color: #000000 !important;
       text-shadow:none !important;
    }

   .btn-primary:hover {
    color: #FFFFFF;
    background-color: #2B44E2 !important;
    border-color: #2B44E2 !important;
}
   .btn-secondary:hover {
    color: #FFFFFF !important;
    background-color: #2B44E2 !important;
    border-color: #2B44E2 !important;
}

   /*CRM 的文字颜色*/
   .btn-link {
    font-weight: 400;
    color: #2B44E2 !important;
    text-decoration: none;
}
   .form-control:focus{
    border-color:#2B44E2 !important;
    box-shadow:0 0 0 .1rem #2B44E2 !important;
       /*color: #2B44E2 !important;*/
}

   /*搜索文字图标颜色*/
.o_menu_search .o_menu_search_icon {

    color: #2B44E2 !important;

}
/*搜索文字颜色*/

.o_menu_search .o_menu_search_input {
  -webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto;
  border: none;
  background-color: rgba(0, 0, 0, 0)  !important;
  color: #2B44E2;
}
.o_menu_search .o_menu_search_input::-moz-placeholder {
  color: #2B44E2  !important;
  opacity: 0.5;
}

        /*创建客户弹框选中的颜色*/
.custom-control-input:checked ~ .custom-control-label::before {
    color: #e9ecef;
    border-color: #2B44E2 !important;
    background-color: #2B44E2 !important;
}
/*搜索下文字变换*/
.o_home_menu .o_home_menu_scrollable .o_menuitems .o_menuitem:hover, .o_home_menu .o_home_menu_scrollable .o_menuitems .o_menuitem:focus, .o_home_menu .o_home_menu_scrollable .o_menuitems .o_menuitem.o_focused {
     color: #dee2e6 !important;

}
.o_home_menu .o_home_menu_scrollable .o_menuitems .o_menuitem:hover, .o_home_menu .o_home_menu_scrollable .o_menuitems .o_menuitem:focus, .o_home_menu .o_home_menu_scrollable .o_menuitems .o_menuitem.o_focused {
    color: #2B44E2 !important;
}


.o_home_menu .o_home_menu_scrollable .o_menuitems .o_menuitem:hover .o_menuitem_parents, .o_home_menu .o_home_menu_scrollable .o_menuitems .o_menuitem:focus .o_menuitem_parents, .o_home_menu .o_home_menu_scrollable .o_menuitems .o_menuitem.o_focused .o_menuitem_parents {
    color: #dee2e6 !important;
}
.o_home_menu .o_home_menu_scrollable .o_menuitems .o_menuitem:hover .o_menuitem_parents, .o_home_menu .o_home_menu_scrollable .o_menuitems .o_menuitem:focus .o_menuitem_parents, .o_home_menu .o_home_menu_scrollable .o_menuitems .o_menuitem.o_focused .o_menuitem_parents {
    /*color: #2B44E2 !important;*/
}
.o_home_menu .o_home_menu_scrollable .o_menuitems .o_menuitem .o_menuitem_parents {
    font-weight: 300;
    color: #ced4da !important;
}


/*讨论页的水滴*/
/*.o-tooltip{*/
/*    birder:2px solid #2B44E2 !important;*/
/*    background-color: #0fb2fc !important;*/
/*}*/


/*讨论页侧边栏背景色*/
.o_mail_discuss .o_mail_discuss_sidebar {
     background-color: #f9f9f9 !important;
    color: #dee2e6;
}
.o_mail_discuss .o_mail_discuss_sidebar .o_mail_discuss_item.o_active {
    background-color: #2B44E2 !important;
    box-shadow: inset 3px 0 0 #2B44E2 !important;
}

.o_mail_discuss .o_mail_discuss_sidebar .o_mail_discuss_item:hover {
    background-color: #2B44E2 !important;
}


.o_base_settings .o_setting_container .settings_tab {

    background: #f9f9f9 !important;

}

/*设置页侧边栏背景色*/
.o_base_settings .o_setting_container .settings_tab .selected {
    background-color: #2B44E2 !important;
    box-shadow: inset 3px 0 0 #2B44E2 !important;
}
.o_cw_filter_color_6 .o_cw_filter_input_bg {
    border-color: #2B44E2 !important;
    background: #2B44E2 !important;
    color: #FFFFFF;
}
.o_cw_filter_color_11 .o_cw_filter_input_bg {
    border-color: #2B44E2 !important;
    background: #2B44E2 !important;
    color: #FFFFFF;
}
/*弹框*/
.o_field_widget.o_field_image .o_form_image_controls {
    position: absolute;
    top: 0;
    left: auto;
    bottom: auto;
    right: 0;
    width: 100%;
    color: white;
    background-color:#2B44E2 !important;
    opacity: 0;
    transition: opacity ease 400ms;
}
/*摘要邮件框*/
.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem #2B44E2 !important;
}
.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
    border-color:#2B44E2;
}
/*活动的新建*/
.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button:not(:first-child):before {
    right: -11px;
    border-left-color: #ccc !important;
}
.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.btn-primary.disabled {
    /* color: #875A7B; */
    font-size: 11px;
    background-color: #adb5bd !important;
    cursor: default;
}
.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.btn-primary.disabled {
    color: #FFFFFF !important;
    font-size: 11px;
    background-color: #2B44E2 !important;
    cursor: default;
}

.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.btn-primary.disabled:after {
     border-left-color: #2B44E2 !important;
}
.btn-secondary {
    color: #212529;
    background-color: white;
    border-color: white;
    color: #2B44E2 !important;
}
.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button:not(.disabled):hover:after, .o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button:not(.disabled):active:after, .o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button:not(.disabled):focus:after {
  border-left-color: #2B44E2 !important;
}
.o_form_view .oe_button_box .btn.oe_stat_button > .o_stat_info .o_stat_value, .o_form_view .oe_button_box .btn.oe_stat_button > span .o_stat_value {
    color:#2B44E2 !important;
}

.o_form_view .o_form_uri > span:first-child {
    color: #2B44E2 !important;
}
.o_mail_discuss .o_mail_discuss_sidebar .o_mail_sidebar_title h4.o_mail_open_channels:hover {
     color:#2B44E2 !important;
}
.o_mail_discuss .o_mail_discuss_sidebar .o_mail_sidebar_title .o_add:hover, .o_mail_discuss .o_mail_discuss_sidebar .o_mail_sidebar_title .o_add:focus, .o_mail_discuss .o_mail_discuss_sidebar .o_mail_sidebar_title .o_add.focus {
     color:#2B44E2 !important;
}

/*联系人*/
.o_form_view .o_notebook > .o_notebook_headers > .nav.nav-tabs > .nav-item > .nav-link:hover, .o_form_view .o_notebook > .o_notebook_headers > .nav.nav-tabs > .nav-item > .nav-link:focus, .o_form_view .o_notebook > .o_notebook_headers > .nav.nav-tabs > .nav-item > .nav-link:active {
    outline: none;
    color:#2B44E2 !important;
}
.o_form_view .o_form_uri {
    display: inline-block;
    color: #2B44E2 !important;
}
.o_form_view .o_form_uri:hover {
     color: #2B44E2 !important;
}

/*漏斗*/

.ui-autocomplete .ui-menu-item.o_m2o_dropdown_option > a, .ui-autocomplete .ui-menu-item.o_m2o_dropdown_option > a.ui-state-active {
    color: #2B44E2 !important;
}
.tooltip .tooltip-inner .oe_tooltip_string {
    background-color:#2B44E2 !important;
    color: white;
    font-weight: bold;
    padding: 5px;
}




.btn-primary:hover {
    color: white;
    background-color: #2B44E2 !important;
    border-color: #2B44E2 !important;
}
.btn-primary {
    color: white;
    background-color: #2B44E2 !important;
    border-color: #2B44E2 !important;
}

/*水滴*/

.o_tooltip.active.bottom::before {
    top: -10px;
    border-bottom-color: #2B44E2 !important;
}

.o_tooltip.active.bottom::before {
    top: -10px;
    border-bottom-color: #2B44E2 !important;
}

.o_tooltip.bottom::before {
    position: absolute;
    top: -8px;
    left: 2px;
    bottom: auto;
    right: auto;
    border-width: 0 10px 10px 10px;
    border-bottom-color: #2B44E2 !important;
}

.o_tooltip {

    border: 2px solid #2B44E2 !important;
    background-color: #2B44E2 !important;
    box-shadow: 0 2px 2px 1px rgba(150, 150, 150, 0.3);
}
.o_tooltip.bottom::before {
    position: absolute;
    top: -8px;
    left: 2px;
    bottom: auto;
    right: auto;
    border-width: 0 10px 10px 10px;
    border-bottom-color: #2B44E2 !important;
}
.o_tooltip::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    bottom: -2px;
    right: -2px;
     /*border-color: #2B44E2 !important;*/
    border-radius: 50%;
    transition: margin 133ms ease 0ms, border-radius 200ms linear 0s;
     background: radial-gradient(#2B44E2, #2B44E2);
}
.o_tooltip.active.bottom::after {
    position: absolute;
    top: -10px;
    left: 2px;
    bottom: auto;
    right: auto;
    border-width: 0 10px 10px 10px;
     border-bottom-color: #2B44E2 !important;
    transition: border-bottom-color 300ms ease 0ms;
}

.o_tooltip.right::before {
    position: absolute;
    top: 2px;
    left: -8px;
    bottom: auto;
    right: auto;
    border-width: 10px 10px 10px 0;
    border-right-color: #2B44E2 !important;
}
.o_tooltip.active.right::before {
    left: -10px;
    border-right-color:  #2B44E2 !important;
}
.o_tooltip.active.right::after {
    position: absolute;
    top: 2px;
    left: -10px;
    bottom: auto;
    right: auto;
    border-width: 10px 10px 10px 0;
    border-right-color:  #2B44E2 !important;
    transition: border-right-color 300ms ease 0ms;
}

.o_tooltip > .o_tooltip_content {
    overflow: hidden;
    padding: 6px 12px;
    visibility: hidden;
    transition: visibility 0s ease 0s;
     color: #fff !important;
    line-height: 1.5;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: normal;
}
.oe_link{
    color: #2B44E2 !important;
}
.o_setting_right_pane a{
    color: #2B44E2 !important;
}
.tab-content{
    color: #2B44E2 !important;
}
.o_thread_window .o_thread_window_header {

  background-color: #2B44E2 !important;

}

/*商机颜色*/
.o_field_invalid.o_input, .o_field_invalid .o_input, .o_field_invalid.o_form_label {
    color: #2B44E2 !important;
    border-color: #2B44E2 !important;
}
.o_required_modifier.o_input, .o_required_modifier .o_input {
    border-bottom: 2px solid #2B44E2 !important;
}
.o_activity_view .o_record_selector {
    color: #2B44E2 !important;
}
/*解决弹框右边突出问题*/
.modal-content {
    background-color: #ffffff;
    background-clip: inherit !important;

}
/*正在加载的背景色*/
.o_loading {
    background-color: #2B44E2 !important;
}

/*table栏切换顶部的线*/
.o_form_view .o_notebook > .o_notebook_headers > .nav.nav-tabs > .nav-item > .nav-link.active, .o_form_view .o_notebook > .o_notebook_headers > .nav.nav-tabs > .nav-item > .nav-link.active:hover, .o_form_view .o_notebook > .o_notebook_headers > .nav.nav-tabs > .nav-item > .nav-link.active:focus, .o_form_view .o_notebook > .o_notebook_headers > .nav.nav-tabs > .nav-item > .nav-link.active:active {
    color: #212529;
    border-top-color:  #2B44E2 !important;
}
.breadcrumb-item .o_back_button a{
    color:#2B44E2 !important;
}
.oe_instance_register a{
    color:#2B44E2 !important;
}
.o_mail_discuss .o_mail_discuss_sidebar {
    color: #666666 !important;
}
/*讨论页侧边栏的*/
.o_mail_discuss .o_mail_discuss_sidebar .o_mail_discuss_item.o_active {
   color: #fff !important;
}
.o_mail_discuss .o_mail_discuss_sidebar .o_mail_discuss_item:hover {
    color: #fff !important;
}
.o_control_panel .breadcrumb > li a{
    color: #2B44E2 !important;
}
.o_control_panel .breadcrumb > li a:hover {
    color: #003a39 !important;
    text-decoration: none;
}
.o_mail_user_status.o_user_online {
    color: #2B44E2 !important;
}


.o_mail_systray_item .o_notification_counter {
  margin-top: -0.8rem;
  margin-right: 0;
  margin-left: -0.6rem;
  background: #FFFFFF !important;
  color: #2B44E2 !important;
  vertical-align: super;
  font-size: 0.7em;
}

.badge {
  border: 1px solid #2B44E2 !important;
}




.o_MessagingMenu_counter {
  background-color: #fff !important;
}


.o_search_panel .o_search_panel_category .o_search_panel_section_icon {
  color: #2B44E2 !important;
}

.o_search_panel .o_search_panel_filter .o_search_panel_section_icon {
  color: #D59244;
}


.o_home_menu .o_menu_search .o_menu_search_input {
  background-color: rgba(0, 0, 0, 0);
  border: none;
  color: #2B44E2 !important;
  /*-webkit-box-flex: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto;*/
  text-shadow: inherit;
}

.o_ThreadPreview_date {
  font-weight: bold;
  font-size: x-small;
  color: #2B44E2 !important;
}

.o_PartnerImStatusIcon_icon.o-bot {
  color: #2B44E2 !important;
}
.o_ChatWindowHeader {
  background-color:#2B44E2 !important;
  color: white;
  cursor: pointer;
}


.o_ThreadIcon_away {
  color: white;
}

.o_ThreadIcon_online {
  color: white !important;
}


.o_main_navbar .o_menu_systray {
  grid-area: systray;
  display: -webkit-box; display: -webkit-flex; display: flex;
}

body.o_is_superuser .o_menu_systray {
  position: relative;
  background: repeating-linear-gradient(135deg, #2B44E2, #2B44E2 10px, #2B44E2 10px, #2B44E2 20px);
}

body.o_is_superuser .o_menu_systray:before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  bottom: 2px;
  right: 2px;
  background-color: #2B44E2;
}
